home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'vcf1.pas' rev: 3.00
-
- #ifndef vcf1HPP
- #define vcf1HPP
- #include <Menus.hpp>
- #include <Controls.hpp>
- #include <StdVCL.hpp>
- #include <OleCtrls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <ActiveX.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Vcf1
- {
- //-- type declarations -------------------------------------------------------
- __dispinterface _DVCF1;
- typedef System::DelphiInterface<_DVCF1> _di__DVCF1;
- __dispinterface _DVCF1: public IDispatch /* __guid="{042BADC6-5E58-11CE-B610-524153480001}" */
- {
-
- };
- typedef _DVCF1 F1Book;
-
- typedef Olectrls::TOleEnum F1ColWidthUnitsConstants;
-
- typedef Olectrls::TOleEnum F1MousePointerConstants;
-
- typedef Olectrls::TOleEnum F1ShowOffOnAutoConstants;
-
- typedef Olectrls::TOleEnum F1ShowTabsConstants;
-
- typedef Olectrls::TOleEnum F1ModeConstants;
-
- typedef Olectrls::TOleEnum F1PolyEditModeConstants;
-
- typedef Olectrls::TOleEnum F1ShiftTypeConstants;
-
- typedef Olectrls::TOleEnum F1HAlignConstants;
-
- typedef Olectrls::TOleEnum F1VAlignConstants;
-
- typedef Olectrls::TOleEnum F1ClearTypeConstants;
-
- typedef Olectrls::TOleEnum F1FileTypeConstants;
-
- typedef Olectrls::TOleEnum F1ObjTypeConstants;
-
- typedef Olectrls::TOleEnum F1ErrorConstants;
-
- typedef Olectrls::TOleEnum F1ControlCellConstants;
-
- __dispinterface _DVCF1Events;
- typedef System::DelphiInterface<_DVCF1Events> _di__DVCF1Events;
- __dispinterface _DVCF1Events: public IDispatch /* __guid="{042BADC7-5E58-11CE-B610-524153480001}" */
-
- {
-
- };
-
- typedef void __fastcall (__closure *TF1BookClick)(System::TObject* Sender, int nRow, int nCol);
-
- typedef void __fastcall (__closure *TF1BookDblClick)(System::TObject* Sender, int nRow, int nCol);
-
- typedef void __fastcall (__closure *TF1BookStartEdit)(System::TObject* Sender, System::WideString &EditString
- , short &Cancel);
-
- typedef void __fastcall (__closure *TF1BookEndEdit)(System::TObject* Sender, System::WideString &EditString
- , short &Cancel);
-
- typedef void __fastcall (__closure *TF1BookObjClick)(System::TObject* Sender, System::WideString &ObjName
- , int ObjID);
-
- typedef void __fastcall (__closure *TF1BookObjDblClick)(System::TObject* Sender, System::WideString
- &ObjName, int ObjID);
-
- typedef void __fastcall (__closure *TF1BookRClick)(System::TObject* Sender, int nRow, int nCol);
-
- typedef void __fastcall (__closure *TF1BookRDblClick)(System::TObject* Sender, int nRow, int nCol);
-
- typedef void __fastcall (__closure *TF1BookObjValueChanged)(System::TObject* Sender, System::WideString
- &ObjName, int ObjID);
-
- typedef void __fastcall (__closure *TF1BookObjGotFocus)(System::TObject* Sender, System::WideString
- &ObjName, int ObjID);
-
- typedef void __fastcall (__closure *TF1BookObjLostFocus)(System::TObject* Sender, System::WideString
- &ObjName, int ObjID);
-
- typedef void __fastcall (__closure *TF1BookValidationFailed)(System::TObject* Sender, System::WideString
- &pEntry, int nSheet, int nRow, int nCol, System::WideString &pShowMessage, short &pAction);
-
- class DELPHICLASS TF1Book;
- class PASCALIMPLEMENTATION TF1Book : public Olectrls::TOleControl
- {
- typedef Olectrls::TOleControl inherited;
-
- private:
- TF1BookClick FOnClick;
- TF1BookDblClick FOnDblClick;
- Classes::TNotifyEvent FOnCancelEdit;
- Classes::TNotifyEvent FOnSelChange;
- TF1BookStartEdit FOnStartEdit;
- TF1BookEndEdit FOnEndEdit;
- Classes::TNotifyEvent FOnStartRecalc;
- Classes::TNotifyEvent FOnEndRecalc;
- Classes::TNotifyEvent FOnTopLeftChanged;
- TF1BookObjClick FOnObjClick;
- TF1BookObjDblClick FOnObjDblClick;
- TF1BookRClick FOnRClick;
- TF1BookRDblClick FOnRDblClick;
- TF1BookObjValueChanged FOnObjValueChanged;
- Classes::TNotifyEvent FOnModified;
- TF1BookObjGotFocus FOnObjGotFocus;
- TF1BookObjLostFocus FOnObjLostFocus;
- TF1BookValidationFailed FOnValidationFailed;
- _di__DVCF1 FIntf;
- int __fastcall Get_PrintDevMode(void);
- void __fastcall Set_PrintDevMode(int &Value);
- int __fastcall Get_hWnd(void);
- void __fastcall Set_hWnd(int &Value);
- System::WideString __fastcall Get_ColText(int nCol);
- void __fastcall Set_ColText(int nCol, const System::WideString Value);
- System::WideString __fastcall Get_DefinedName(const System::WideString pName);
- void __fastcall Set_DefinedName(const System::WideString pName, const System::WideString Value);
- System::WideString __fastcall Get_EntryRC(int nRow, int nCol);
- void __fastcall Set_EntryRC(int nRow, int nCol, const System::WideString Value);
- System::WideString __fastcall Get_FormattedTextRC(int nRow, int nCol);
- void __fastcall Set_FormattedTextRC(int nRow, int nCol, const System::WideString Value);
- System::WideString __fastcall Get_FormulaRC(int nRow, int nCol);
- void __fastcall Set_FormulaRC(int nRow, int nCol, const System::WideString Value);
- int __fastcall Get_LastColForRow(int nRow);
- void __fastcall Set_LastColForRow(int nRow, int Value);
- Word __fastcall Get_LogicalRC(int nRow, int nCol);
- void __fastcall Set_LogicalRC(int nRow, int nCol, Word Value);
- double __fastcall Get_NumberRC(int nRow, int nCol);
- void __fastcall Set_NumberRC(int nRow, int nCol, double Value);
- System::WideString __fastcall Get_RowText(int nRow);
- void __fastcall Set_RowText(int nRow, const System::WideString Value);
- System::WideString __fastcall Get_TextRC(int nRow, int nCol);
- void __fastcall Set_TextRC(int nRow, int nCol, const System::WideString Value);
- short __fastcall Get_TypeRC(int nRow, int nCol);
- void __fastcall Set_TypeRC(int nRow, int nCol, short Value);
- short __fastcall Get_ColWidth(int nCol);
- void __fastcall Set_ColWidth(int nCol, short Value);
- short __fastcall Get_RowHeight(int nRow);
- void __fastcall Set_RowHeight(int nRow, short Value);
- System::WideString __fastcall Get_DefinedNameByIndex(int nName);
- void __fastcall Set_DefinedNameByIndex(int nName, const System::WideString Value);
- System::WideString __fastcall Get_SheetName(int nSheet);
- void __fastcall Set_SheetName(int nSheet, const System::WideString Value);
- Graphics::TColor __fastcall Get_PaletteEntry(int nEntry);
- void __fastcall Set_PaletteEntry(int nEntry, Graphics::TColor Value);
- short __fastcall Get_ColWidthTwips(int Col);
- void __fastcall Set_ColWidthTwips(int Col, short Value);
- System::WideString __fastcall Get_ObjItem(int ID, short Item);
- void __fastcall Set_ObjItem(int ID, short Item, const System::WideString Value);
- System::WideString __fastcall Get_ObjItems(int ID);
- void __fastcall Set_ObjItems(int ID, const System::WideString Value);
- System::WideString __fastcall Get_ObjName(int ID);
- void __fastcall Set_ObjName(int ID, const System::WideString Value);
- System::WideString __fastcall Get_ObjText(int ID);
- void __fastcall Set_ObjText(int ID, const System::WideString Value);
- short __fastcall Get_ObjValue(int ID);
- void __fastcall Set_ObjValue(int ID, short Value);
- Word __fastcall Get_ObjVisible(int ID);
- void __fastcall Set_ObjVisible(int ID, Word Value);
- System::WideString __fastcall Get_AutoFillItems(short Index);
- void __fastcall Set_AutoFillItems(short Index, const System::WideString Value);
- Word __fastcall Get_ColHidden(int nCol);
- void __fastcall Set_ColHidden(int nCol, Word Value);
- Word __fastcall Get_RowHidden(int nRow);
- void __fastcall Set_RowHidden(int nRow, Word Value);
- Word __fastcall Get_SheetSelected(int nSheet);
- void __fastcall Set_SheetSelected(int nSheet, Word Value);
-
- protected:
- virtual void __fastcall InitControlData(void);
- virtual void __fastcall InitControlInterface(const _di_IUnknown Obj);
-
- public:
- void __fastcall EditPasteValues(void);
- void __fastcall GetAlignment(short &pHorizontal, Word &pWordWrap, short &pVertical, short &pOrientation
- );
- HIDESBASE void __fastcall GetBorder(short &pLeft, short &pRight, short &pTop, short &pBottom, short
- &pShade, Graphics::TColor &pcrLeft, Graphics::TColor &pcrRight, Graphics::TColor &pcrTop, Graphics::TColor
- &pcrBottom);
- void __fastcall GetFont(System::WideString &pName, short &pSize, Word &pBold, Word &pItalic, Word &
- pUnderline, Word &pStrikeout, Graphics::TColor &pcrColor, Word &pOutline, Word &pShadow);
- void __fastcall GetLineStyle(short &pStyle, Graphics::TColor &pcrColor, short &pWeight);
- void __fastcall GetPattern(short &pPattern, Graphics::TColor &pcrFG, Graphics::TColor &pcrBG);
- void __fastcall GetProtection(Word &pLocked, Word &pHidden);
- void __fastcall GetTabbedText(int nR1, int nC1, int nR2, int nC2, Word bValuesOnly, int &phText);
- void __fastcall SetTabbedText(int nStartRow, int nStartCol, int &pRows, int &pCols, Word bValuesOnly
- , const System::WideString pText);
- void __fastcall AddColPageBreak(int nCol);
- void __fastcall AddPageBreak(void);
- void __fastcall AddRowPageBreak(int nRow);
- void __fastcall AddSelection(int nR1, int nC1, int nR2, int nC2);
- void __fastcall Attach(const System::WideString pTitle);
- void __fastcall AttachToSS(int hSrcSS);
- void __fastcall CalculationDlg(void);
- void __fastcall CancelEdit(void);
- void __fastcall CheckRecalc(void);
- void __fastcall ClearClipboard(void);
- void __fastcall ClearRange(int nR1, int nC1, int nR2, int nC2, short ClearType);
- void __fastcall ColorPaletteDlg(void);
- void __fastcall ColWidthDlg(void);
- void __fastcall CopyAll(int hSrcSS);
- void __fastcall CopyRange(int nDstR1, int nDstC1, int nDstR2, int nDstC2, int hSrcSS, int nSrcR1, int
- nSrcC1, int nSrcR2, int nSrcC2);
- void __fastcall DefinedNameDlg(void);
- void __fastcall DeleteDefinedName(const System::WideString pName);
- void __fastcall DeleteRange(int nR1, int nC1, int nR2, int nC2, short ShiftType);
- void __fastcall Draw(int hDC, int x, int y, int cx, int cy, int nRow, int nCol, int &pRows, int &pCols
- , int nFixedRow, int nFixedCol, int nFixedRows, int nFixedCols);
- void __fastcall EditClear(short ClearType);
- void __fastcall EditCopy(void);
- void __fastcall EditCopyDown(void);
- void __fastcall EditCopyRight(void);
- void __fastcall EditCut(void);
- void __fastcall EditDelete(short ShiftType);
- void __fastcall EditInsert(short ShiftType);
- void __fastcall EditPaste(void);
- void __fastcall EndEdit(void);
- void __fastcall FilePageSetupDlg(void);
- void __fastcall FilePrint(Word bShowPrintDlg);
- void __fastcall FilePrintSetupDlg(void);
- void __fastcall FormatAlignmentDlg(void);
- void __fastcall FormatBorderDlg(void);
- void __fastcall FormatCurrency0(void);
- void __fastcall FormatCurrency2(void);
- void __fastcall FormatDefaultFontDlg(void);
- void __fastcall FormatFixed(void);
- void __fastcall FormatFixed2(void);
- void __fastcall FormatFontDlg(void);
- void __fastcall FormatFraction(void);
- void __fastcall FormatGeneral(void);
- void __fastcall FormatHmmampm(void);
- void __fastcall FormatMdyy(void);
- void __fastcall FormatNumberDlg(void);
- void __fastcall FormatPatternDlg(void);
- void __fastcall FormatPercent(void);
- void __fastcall FormatScientific(void);
- void __fastcall GetActiveCell(int &pRow, int &pCol);
- void __fastcall GetDefaultFont(System::WideString &pBuf, short &pSize);
- void __fastcall GetHdrSelection(Word &pTopLeftHdr, Word &pRowHdr, Word &pColHdr);
- void __fastcall GetIteration(Word &pIteration, short &pMaxIterations, double &pMaxChange);
- void __fastcall GetPrintScale(short &pScale, Word &pFitToPage, int &pVPages, int &pHPages);
- void __fastcall GetSelection(short nSelection, int &pR1, int &pC1, int &pR2, int &pC2);
- void __fastcall GotoDlg(void);
- void __fastcall HeapMin(void);
- void __fastcall InitTable(void);
- void __fastcall InsertRange(int nR1, int nC1, int nR2, int nC2, short ShiftType);
- void __fastcall LineStyleDlg(void);
- void __fastcall MoveRange(int nR1, int nC1, int nR2, int nC2, int nRowOffset, int nColOffset);
- void __fastcall ObjAddItem(int ID, const System::WideString pItem);
- void __fastcall ObjAddSelection(int ID);
- void __fastcall ObjBringToFront(void);
- void __fastcall ObjDeleteItem(int ID, short nItem);
- void __fastcall ObjGetCell(int ID, short &pControlCellType, int &pRow, int &pCol);
- void __fastcall ObjGetPos(int ID, float &pX1, float &pY1, float &pX2, float &pY2);
- void __fastcall ObjGetSelection(short nSelection, int &pID);
- void __fastcall ObjInsertItem(int ID, short nItem, const System::WideString pItem);
- void __fastcall ObjNameDlg(void);
- void __fastcall ObjNew(short ObjType, float nX1, float nY1, float nX2, float nY2, int &pID);
- void __fastcall ObjNewPicture(float nX1, float nY1, float nX2, float nY2, int &pID, int hMF, int nMapMode
- , int nWndExtentX, int nWndExtentY);
- void __fastcall ObjOptionsDlg(void);
- void __fastcall ObjPosToTwips(float nX1, float nY1, float nX2, float nY2, int &pX, int &pY, int &pCX
- , int &pCY, short &pShown);
- void __fastcall ObjSendToBack(void);
- void __fastcall ObjSetCell(int ID, short ControlCellType, int nRow, int nCol);
- void __fastcall ObjSetPicture(int ID, int hMF, short nMapMode, int nWndExtentX, int nWndExtentY);
- void __fastcall ObjSetPos(int ID, float nX1, float nY1, float nX2, float nY2);
- void __fastcall ObjSetSelection(int ID);
- void __fastcall OpenFileDlg(const System::WideString pTitle, int hWndParent, System::WideString &pBuf
- );
- void __fastcall ProtectionDlg(void);
- void __fastcall RangeToTwips(int nRow1, int nCol1, int nRow2, int nCol2, int &pX, int &pY, int &pCX
- , int &pCY, short &pShown);
- void __fastcall Read(const System::WideString pPathName, short &pFileType);
- void __fastcall ReadFromBlob(int hBlob, short nReservedBytes);
- void __fastcall Recalc(void);
- void __fastcall RemoveColPageBreak(int nCol);
- void __fastcall RemovePageBreak(void);
- void __fastcall RemoveRowPageBreak(int nRow);
- void __fastcall RowHeightDlg(void);
- void __fastcall SaveFileDlg(const System::WideString pTitle, System::WideString &pBuf, short &pFileType
- );
- void __fastcall SaveWindowInfo(void);
- void __fastcall SetActiveCell(int nRow, int nCol);
- void __fastcall SetAlignment(short HAlign, Word bWordWrap, short VAlign, short nOrientation);
- void __fastcall SetBorder(short nOutline, short nLeft, short nRight, short nTop, short nBottom, short
- nShade, Graphics::TColor crOutline, Graphics::TColor crLeft, Graphics::TColor crRight, Graphics::TColor
- crTop, Graphics::TColor crBottom);
- void __fastcall SetColWidth(int nC1, int nC2, short nWidth, Word bDefColWidth);
- void __fastcall SetColWidthAuto(int nR1, int nC1, int nR2, int nC2, Word bSetDefaults);
- void __fastcall SetDefaultFont(const System::WideString pName, short nSize);
- HIDESBASE void __fastcall SetFont(const System::WideString pName, short nSize, Word bBold, Word bItalic
- , Word bUnderline, Word bStrikeout, Graphics::TColor crColor, Word bOutline, Word bShadow);
- void __fastcall SetHdrSelection(Word bTopLeftHdr, Word bRowHdr, Word bColHdr);
- void __fastcall SetIteration(Word bIteration, short nMaxIterations, double nMaxChange);
- void __fastcall SetLineStyle(short nStyle, Graphics::TColor crColor, short nWeight);
- void __fastcall SetPattern(short nPattern, Graphics::TColor crFG, Graphics::TColor crBG);
- void __fastcall SetPrintAreaFromSelection(void);
- void __fastcall SetPrintScale(short nScale, Word bFitToPage, short nVPages, short nHPages);
- void __fastcall SetPrintTitlesFromSelection(void);
- void __fastcall SetProtection(Word bLocked, Word bHidden);
- void __fastcall SetRowHeight(int nR1, int nR2, short nHeight, Word bDefRowHeight);
- void __fastcall SetRowHeightAuto(int nR1, int nC1, int nR2, int nC2, Word bSetDefaults);
- void __fastcall SetSelection(int nR1, int nC1, int nR2, int nC2);
- void __fastcall ShowActiveCell(void);
- void __fastcall Sort3(int nR1, int nC1, int nR2, int nC2, Word bSortByRows, int nKey1, int nKey2, int
- nKey3);
- void __fastcall SortDlg(void);
- void __fastcall StartEdit(Word bClear, Word bInCellEditFocus, Word bArrowsExitEditMode);
- void __fastcall SwapTables(int hSS2);
- void __fastcall TransactCommit(void);
- void __fastcall TransactRollback(void);
- void __fastcall TransactStart(void);
- void __fastcall TwipsToRC(int x, int y, int &pRow, int &pCol);
- void __fastcall SSUpdate(void);
- short __fastcall SSVersion(void);
- void __fastcall Write(const System::WideString pPathName, short FileType);
- void __fastcall WriteToBlob(int &phBlob, short nReservedBytes);
- void __fastcall SetRowHidden(int nRow1, int nRow2, Word bHidden);
- void __fastcall SetColHidden(int nCol1, int nCol2, Word bHidden);
- void __fastcall SetColWidthTwips(int nCol1, int nCol2, int nWidth, Word bDefColWidth);
- void __fastcall EditInsertSheets(void);
- void __fastcall EditDeleteSheets(void);
- void __fastcall InsertSheets(int nSheet, int nSheets);
- void __fastcall DeleteSheets(int nSheet, int nSheets);
- HIDESBASE void __fastcall Refresh(void);
- int __fastcall NextColPageBreak(int Col);
- int __fastcall NextRowPageBreak(int Row);
- int __fastcall ObjFirstID(void);
- int __fastcall ObjNextID(int ID);
- short __fastcall ObjGetItemCount(int ID);
- short __fastcall ObjGetType(int ID);
- short __fastcall ObjGetSelectionCount(void);
- System::WideString __fastcall FormatRCNr(int Row, int Col, Word DoAbsolute);
- int __fastcall SS(void);
- System::WideString __fastcall ErrorNumberToText(int SSError);
- int __fastcall ObjNameToID(const System::WideString Name);
- int __fastcall DefinedNameCount(void);
- void __fastcall ValidationRuleDlg(void);
- void __fastcall SetValidationRule(const System::WideString Rule, const System::WideString Text);
- void __fastcall GetValidationRule(System::WideString &Rule, System::WideString &Text);
- short __fastcall AutoFillItemsCount(void);
- void __fastcall CopyRangeEx(int nDstSheet, int nDstR1, int nDstC1, int nDstR2, int nDstC2, int hSrcSS
- , int nSrcSheet, int nSrcR1, int nSrcC1, int nSrcR2, int nSrcC2);
- void __fastcall Sort(int nR1, int nC1, int nR2, int nC2, Word bSortByRows, const System::OleVariant
- &Keys);
- void __fastcall DeleteAutoFillItems(short nIndex);
- void __fastcall ODBCConnect(System::WideString &pConnect, Word bShowErrors, short &pRetCode);
- void __fastcall ODBCDisconnect(void);
- void __fastcall ODBCQuery(System::WideString &pQuery, int nRow, int nCol, Word bForceShowDlg, Word
- &pSetColNames, Word &pSetColFormats, Word &pSetColWidths, Word &pSetMaxRC, short &pRetCode);
- void __fastcall LaunchDesigner(void);
- void __fastcall AboutBox(void);
- __property _di__DVCF1 ControlInterface = {read=FIntf};
- __property System::WideString ColText[int nCol] = {read=Get_ColText, write=Set_ColText};
- __property System::WideString DefinedName[System::WideString pName] = {read=Get_DefinedName, write=
- Set_DefinedName};
- __property System::WideString EntryRC[int nRow][int nCol] = {read=Get_EntryRC, write=Set_EntryRC};
- __property System::WideString FormattedTextRC[int nRow][int nCol] = {read=Get_FormattedTextRC, write=
- Set_FormattedTextRC};
- __property System::WideString FormulaRC[int nRow][int nCol] = {read=Get_FormulaRC, write=Set_FormulaRC
- };
- __property int LastColForRow[int nRow] = {read=Get_LastColForRow, write=Set_LastColForRow};
- __property Word LogicalRC[int nRow][int nCol] = {read=Get_LogicalRC, write=Set_LogicalRC};
- __property double NumberRC[int nRow][int nCol] = {read=Get_NumberRC, write=Set_NumberRC};
- __property System::WideString RowText[int nRow] = {read=Get_RowText, write=Set_RowText};
- __property System::WideString TextRC[int nRow][int nCol] = {read=Get_TextRC, write=Set_TextRC};
- __property short TypeRC[int nRow][int nCol] = {read=Get_TypeRC, write=Set_TypeRC};
- __property short ColWidth[int nCol] = {read=Get_ColWidth, write=Set_ColWidth};
- __property short RowHeight[int nRow] = {read=Get_RowHeight, write=Set_RowHeight};
- __property System::WideString DefinedNameByIndex[int nName] = {read=Get_DefinedNameByIndex, write=Set_DefinedNameByIndex
- };
- __property System::WideString SheetName[int nSheet] = {read=Get_SheetName, write=Set_SheetName};
- __property Graphics::TColor PaletteEntry[int nEntry] = {read=Get_PaletteEntry, write=Set_PaletteEntry
- };
- __property short ColWidthTwips[int Col] = {read=Get_ColWidthTwips, write=Set_ColWidthTwips};
- __property System::WideString ObjItem[int ID][short Item] = {read=Get_ObjItem, write=Set_ObjItem};
- __property System::WideString ObjItems[int ID] = {read=Get_ObjItems, write=Set_ObjItems};
- __property System::WideString ObjName[int ID] = {read=Get_ObjName, write=Set_ObjName};
- __property System::WideString ObjText[int ID] = {read=Get_ObjText, write=Set_ObjText};
- __property short ObjValue[int ID] = {read=Get_ObjValue, write=Set_ObjValue};
- __property Word ObjVisible[int ID] = {read=Get_ObjVisible, write=Set_ObjVisible};
- __property System::WideString AutoFillItems[short Index] = {read=Get_AutoFillItems, write=Set_AutoFillItems
- };
- __property Word ColHidden[int nCol] = {read=Get_ColHidden, write=Set_ColHidden};
- __property Word RowHidden[int nRow] = {read=Get_RowHidden, write=Set_RowHidden};
- __property Word SheetSelected[int nSheet] = {read=Get_SheetSelected, write=Set_SheetSelected};
-
- __published:
- __property TabStop ;
- __property Align ;
- __property DragCursor ;
- __property DragMode ;
- __property ParentShowHint ;
- __property PopupMenu ;
- __property ShowHint ;
- __property TabOrder ;
- __property Visible ;
- __property OnDragDrop ;
- __property OnDragOver ;
- __property OnEndDrag ;
- __property OnEnter ;
- __property OnExit ;
- __property OnStartDrag ;
- __property OnMouseUp ;
- __property OnMouseMove ;
- __property OnMouseDown ;
- __property OnKeyUp ;
- __property OnKeyPress ;
- __property OnKeyDown ;
- __property Graphics::TColor BackColor = {read=GetTColorProp, write=SetTColorProp, stored=false, index=3
- , nodefault};
- __property int Col = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4, nodefault};
-
- __property int Row = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5, nodefault};
-
- __property short ShowHScrollBar = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=6
- , nodefault};
- __property System::WideString Text = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=7};
- __property double Number = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=8};
- __property System::WideString Formula = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=9};
- __property int FixedCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10, nodefault
- };
- __property int FixedCols = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=11, nodefault
- };
- __property int FixedRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12, nodefault
- };
- __property int FixedRows = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13, nodefault
- };
- __property Word ShowGridLines = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=14
- , nodefault};
- __property Word ShowRowHeading = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=15
- , nodefault};
- __property short ShowSelections = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=16
- , nodefault};
- __property int LeftCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17, nodefault
- };
- __property int MaxCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=18, nodefault
- };
- __property int MaxRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=19, nodefault
- };
- __property int TopRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=20, nodefault
- };
- __property Word AllowResize = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=21,
- nodefault};
- __property Word AllowSelections = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=22
- , nodefault};
- __property Word AllowFormulas = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=23
- , nodefault};
- __property Word AllowInCellEditing = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=24
- , nodefault};
- __property short ShowVScrollBar = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=25
- , nodefault};
- __property Word AllowFillRange = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=26
- , nodefault};
- __property Word AllowMoveRange = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=27
- , nodefault};
- __property int SelStartCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=28, nodefault
- };
- __property int SelStartRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=29, nodefault
- };
- __property int SelEndCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=30, nodefault
- };
- __property int SelEndRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=31, nodefault
- };
- __property Graphics::TColor ExtraColor = {read=GetTColorProp, write=SetTColorProp, stored=false, index=32
- , nodefault};
- __property System::WideString FileName = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=33};
- __property Word AutoRecalc = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=34,
- nodefault};
- __property Word PrintGridLines = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=35
- , nodefault};
- __property Word PrintRowHeading = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=36
- , nodefault};
- __property Word PrintHCenter = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=37
- , nodefault};
- __property Word PrintVCenter = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=38
- , nodefault};
- __property Word PrintLeftToRight = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=39
- , nodefault};
- __property System::WideString PrintHeader = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=40};
- __property System::WideString PrintFooter = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=41};
- __property double PrintLeftMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=42
- };
- __property double PrintTopMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=43
- };
- __property double PrintRightMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=44
- };
- __property double PrintBottomMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=45
- };
- __property System::WideString PrintArea = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=46};
- __property System::WideString PrintTitles = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=47};
- __property Word PrintNoColor = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=48
- , nodefault};
- __property System::WideString Selection = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=49};
- __property System::WideString TableName = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=50};
- __property Word DoCancelEdit = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=51
- , nodefault};
- __property Word DoSelChange = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=52,
- nodefault};
- __property Word DoStartEdit = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=53,
- nodefault};
- __property Word DoEndEdit = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=54, nodefault
- };
- __property Word DoStartRecalc = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=55
- , nodefault};
- __property Word DoEndRecalc = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=56,
- nodefault};
- __property Word DoClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=57, nodefault
- };
- __property Word DoDblClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=58,
- nodefault};
- __property Word ShowColHeading = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=59
- , nodefault};
- __property Word PrintColHeading = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=60
- , nodefault};
- __property System::WideString Entry = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=61};
- __property Word Repaint = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=62, nodefault
- };
- __property Word AllowArrows = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=63,
- nodefault};
- __property Word AllowTabs = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=64, nodefault
- };
- __property System::WideString FormattedText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=65};
- __property Word RowMode = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=66, nodefault
- };
- __property Word AllowDelete = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=67,
- nodefault};
- __property Word EnableProtection = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=68
- , nodefault};
- __property int MinCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=69, nodefault
- };
- __property int MinRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=70, nodefault
- };
- __property Word DoTopLeftChanged = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=71
- , nodefault};
- __property Word AllowEditHeaders = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=72
- , nodefault};
- __property Word DoObjClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=73,
- nodefault};
- __property Word DoObjDblClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=74
- , nodefault};
- __property Word AllowObjSelections = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=75
- , nodefault};
- __property Word DoRClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=76, nodefault
- };
- __property Word DoRDblClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=77,
- nodefault};
- __property System::WideString Clip = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=78};
- __property System::WideString ClipValues = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=79};
- __property Word PrintLandscape = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=80
- , nodefault};
- __property Word Enabled = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=-514, nodefault
- };
- __property short BorderStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=-504
- , nodefault};
- __property System::WideString AppName = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=81};
- __property short HdrHeight = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=82,
- nodefault};
- __property short HdrWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=83, nodefault
- };
- __property System::WideString NumberFormat = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=84};
- __property System::WideString TopLeftText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=85};
- __property Word EnterMovesDown = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=86
- , nodefault};
- __property int LastCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=87, nodefault
- };
- __property int LastRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=88, nodefault
- };
- __property Word Logical = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=89, nodefault
- };
- __property short Mode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=90, nodefault
- };
- __property short PolyEditMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=91
- , nodefault};
- __property short ViewScale = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=92,
- nodefault};
- __property short SelectionCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=93
- , nodefault};
- __property System::WideString Title = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=94};
- __property short Type_ = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=95, nodefault
- };
- __property Word ShowFormulas = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=96
- , nodefault};
- __property Word ShowZeroValues = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=97
- , nodefault};
- __property short MousePointer = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=2
- , nodefault};
- __property Graphics::TPicture* MouseIcon = {read=GetTPictureProp, write=SetTPictureProp, stored=false
- , index=98};
- __property Word DoObjValueChanged = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=99
- , nodefault};
- __property Word ScrollToLastRC = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=100
- , nodefault};
- __property Word Modified = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=101, nodefault
- };
- __property Word DoObjGotFocus = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=102
- , nodefault};
- __property Word DoObjLostFocus = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=103
- , nodefault};
- __property int PrintDevMode = {read=Get_PrintDevMode, write=Set_PrintDevMode, stored=false, nodefault
- };
- __property int NumSheets = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=105, nodefault
- };
- __property int Sheet = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=106, nodefault
- };
- __property short ColWidthUnits = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=107
- , nodefault};
- __property Word ShowTypeMarkers = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=108
- , nodefault};
- __property short ShowTabs = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=109,
- nodefault};
- __property Word ShowEditBar = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=110
- , nodefault};
- __property Word ShowEditBarCellRef = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=111
- , nodefault};
- __property Word AllowDesigner = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=1
- , nodefault};
- __property int hWnd = {read=Get_hWnd, write=Set_hWnd, stored=false, nodefault};
- __property Word AllowAutoFill = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=112
- , nodefault};
- __property TF1BookClick OnClick = {read=FOnClick, write=FOnClick};
- __property TF1BookDblClick OnDblClick = {read=FOnDblClick, write=FOnDblClick};
- __property Classes::TNotifyEvent OnCancelEdit = {read=FOnCancelEdit, write=FOnCancelEdit};
- __property Classes::TNotifyEvent OnSelChange = {read=FOnSelChange, write=FOnSelChange};
- __property TF1BookStartEdit OnStartEdit = {read=FOnStartEdit, write=FOnStartEdit};
- __property TF1BookEndEdit OnEndEdit = {read=FOnEndEdit, write=FOnEndEdit};
- __property Classes::TNotifyEvent OnStartRecalc = {read=FOnStartRecalc, write=FOnStartRecalc};
- __property Classes::TNotifyEvent OnEndRecalc = {read=FOnEndRecalc, write=FOnEndRecalc};
- __property Classes::TNotifyEvent OnTopLeftChanged = {read=FOnTopLeftChanged, write=FOnTopLeftChanged
- };
- __property TF1BookObjClick OnObjClick = {read=FOnObjClick, write=FOnObjClick};
- __property TF1BookObjDblClick OnObjDblClick = {read=FOnObjDblClick, write=FOnObjDblClick};
- __property TF1BookRClick OnRClick = {read=FOnRClick, write=FOnRClick};
- __property TF1BookRDblClick OnRDblClick = {read=FOnRDblClick, write=FOnRDblClick};
- __property TF1BookObjValueChanged OnObjValueChanged = {read=FOnObjValueChanged, write=FOnObjValueChanged
- };
- __property Classes::TNotifyEvent OnModified = {read=FOnModified, write=FOnModified};
- __property TF1BookObjGotFocus OnObjGotFocus = {read=FOnObjGotFocus, write=FOnObjGotFocus};
- __property TF1BookObjLostFocus OnObjLostFocus = {read=FOnObjLostFocus, write=FOnObjLostFocus};
- __property TF1BookValidationFailed OnValidationFailed = {read=FOnValidationFailed, write=FOnValidationFailed
- };
- public:
- /* TOleControl.Create */ __fastcall virtual TF1Book(Classes::TComponent* AOwner) : Olectrls::TOleControl(
- AOwner) { }
- /* TOleControl.Destroy */ __fastcall virtual ~TF1Book(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TF1Book(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
- ) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- extern PACKAGE GUID LIBID_VCIF1Lib;
- #define F1ColWidthUnitsCharacters (Byte)(0)
- #define F1ColWidthUnitsTwips (Byte)(1)
- #define F1Default (Byte)(0)
- #define F1Arrow (Byte)(1)
- #define F1Cross (Byte)(2)
- #define F1IBeam (Byte)(3)
- #define F1Icon (Byte)(4)
- #define F1Size (Byte)(5)
- #define F1SizeNESW (Byte)(6)
- #define F1SizeNS (Byte)(7)
- #define F1SizeNWSE (Byte)(8)
- #define F1SizeWE (Byte)(9)
- #define F1UpArrow (Byte)(10)
- #define F1Hourglass (Byte)(11)
- #define F1NoDrop (Byte)(12)
- #define F1Custom (Byte)(13)
- #define F1Off (Byte)(0)
- #define F1On (Byte)(1)
- #define F1Auto (Byte)(2)
- #define F1TabsOff (Byte)(0)
- #define F1TabsBottom (Byte)(1)
- #define F1TabsTop (Byte)(2)
- #define F1ModeNormal (Byte)(0)
- #define F1ModeLine (Byte)(1)
- #define F1ModeRectangle (Byte)(2)
- #define F1ModeOval (Byte)(3)
- #define F1ModeArc (Byte)(4)
- #define F1ModeChart (Byte)(5)
- #define F1ModeField (Byte)(6)
- #define F1ModeButton (Byte)(7)
- #define F1ModePolygon (Byte)(8)
- #define F1ModeCheckBox (Byte)(9)
- #define F1ModeDropDown (Byte)(10)
- #define F1PolyEditModeNormal (Byte)(0)
- #define F1PolyEditModePoints (Byte)(1)
- #define F1ShiftHorizontal (Byte)(1)
- #define F1ShiftVertical (Byte)(2)
- #define F1ShiftRows (Byte)(3)
- #define F1ShiftCols (Byte)(4)
- #define F1HAlignGeneral (Byte)(1)
- #define F1HAlignLeft (Byte)(2)
- #define F1HAlignCenter (Byte)(3)
- #define F1HAlignRight (Byte)(4)
- #define F1HAlignFill (Byte)(5)
- #define F1HAlignJustify (Byte)(6)
- #define F1HAlignCenterAcrossCells (Byte)(7)
- #define F1VAlignTop (Byte)(1)
- #define F1VAlignCenter (Byte)(2)
- #define F1VAlignBottom (Byte)(3)
- #define F1ClearDlg (Byte)(0)
- #define F1ClearAll (Byte)(1)
- #define F1ClearFormats (Byte)(2)
- #define F1ClearValues (Byte)(3)
- #define F1FileFormulaOne (Byte)(1)
- #define F1FileExcel4 (Byte)(2)
- #define F1FileTabbedText (Byte)(3)
- #define F1FileExcel5 (Byte)(4)
- #define F1FileFormulaOne3 (Byte)(5)
- #define F1FileTabbedTextValuesOnly (Byte)(6)
- #define F1ObjLine (Byte)(1)
- #define F1ObjRectangle (Byte)(2)
- #define F1ObjOval (Byte)(3)
- #define F1ObjArc (Byte)(4)
- #define F1ObjChart (Byte)(5)
- #define F1ObjButton (Byte)(7)
- #define F1ObjPolygon (Byte)(8)
- #define F1ObjCheckBox (Byte)(9)
- #define F1ObjDropDown (Byte)(10)
- #define F1ObjPicture (Byte)(11)
- #define F1ErrorNone (Byte)(0)
- #define F1ErrorGeneral (Word)(20001)
- #define F1ErrorBadArgument (Word)(20002)
- #define F1ErrorNoMemory (Word)(20003)
- #define F1ErrorBadFormula (Word)(20004)
- #define F1ErrorBufTooShort (Word)(20005)
- #define F1ErrorNotFound (Word)(20006)
- #define F1ErrorBadRC (Word)(20007)
- #define F1ErrorBadHSS (Word)(20008)
- #define F1ErrorTooManyHSS (Word)(20009)
- #define F1ErrorNoTable (Word)(20010)
- #define F1ErrorUnableToOpenFile (Word)(20011)
- #define F1ErrorInvalidFile (Word)(20012)
- #define F1ErrorInsertShiftOffTable (Word)(20013)
- #define F1ErrorOnlyOneRange (Word)(20014)
- #define F1ErrorNothingToPaste (Word)(20015)
- #define F1ErrorBadNumberFormat (Word)(20016)
- #define F1ErrorTooManyFonts (Word)(20017)
- #define F1ErrorTooManySelectedRanges (Word)(20018)
- #define F1ErrorUnableToWriteFile (Word)(20019)
- #define F1ErrorNoTransaction (Word)(20020)
- #define F1ErrorNothingToPrint (Word)(20021)
- #define F1ErrorPrintMarginsDontFit (Word)(20022)
- #define F1ErrorCancel (Word)(20023)
- #define F1ErrorUnableToInitializePrinter (Word)(20024)
- #define F1ErrorStringTooLong (Word)(20025)
- #define F1ErrorFormulaTooLong (Word)(20026)
- #define F1ErrorUnableToOpenClipboard (Word)(20027)
- #define F1ErrorPasteWouldOverflowSheet (Word)(20028)
- #define F1ErrorLockedCellsCannotBeModified (Word)(20029)
- #define F1ErrorLockedDocCannotBeModified (Word)(20030)
- #define F1ErrorInvalidName (Word)(20031)
- #define F1ErrorCannotDeleteNameInUse (Word)(20032)
- #define F1ErrorUnableToFindName (Word)(20033)
- #define F1ErrorNoWindow (Word)(20034)
- #define F1ErrorSelection (Word)(20035)
- #define F1ErrorTooManyObjects (Word)(20036)
- #define F1ErrorInvalidObjectType (Word)(20037)
- #define F1ErrorObjectNotFound (Word)(20038)
- #define F1ErrorInvalidRequest (Word)(20039)
- #define F1ErrorBadValidationRule (Word)(20040)
- #define F1ErrorBadInputMask (Word)(20041)
- #define F1ErrorValidationFailed (Word)(20042)
- #define F1ErrorNoODBCConnection (Word)(20043)
- #define F1ErrorUnableToLoadODBC (Word)(20044)
- #define F1ErrorUnsupportedFeature (Word)(20045)
- #define F1ControlNoCell (Byte)(0)
- #define F1ControlCellValue (Byte)(1)
- #define F1ControlCellText (Byte)(2)
- extern PACKAGE GUID Class_F1Book;
- extern PACKAGE void __fastcall Register(void);
-
- } /* namespace Vcf1 */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Vcf1;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // vcf1
-